import request from '@/utils/request'
import type { Role } from '@/types'

/**
 * 获取所有角色
 */
export function getRoleList() {
  return request<Role[]>({
    url: '/role/list',
    method: 'get'
  })
}

